Skip to content

gitutil: add opt-in support for host git config#6624

Merged
tonistiigi merged 1 commit intomoby:masterfrom
crazy-max:gitcli-host-gitconfig
Apr 2, 2026
Merged

gitutil: add opt-in support for host git config#6624
tonistiigi merged 1 commit intomoby:masterfrom
crazy-max:gitcli-host-gitconfig

Conversation

@crazy-max
Copy link
Copy Markdown
Member

relates to docker/buildx#3726

This keeps the current isolated GitCLI behavior as the default and adds an explicit option for client-side callers that need git to read the host system and user configuration. This allows downstream callers such as buildx to preserve local client-side git behavior without weakening the default isolation used by daemon-side code.

@crazy-max crazy-max requested a review from tonistiigi March 27, 2026 14:52
@crazy-max crazy-max force-pushed the gitcli-host-gitconfig branch 3 times, most recently from 3ad7045 to 036ed13 Compare March 30, 2026 08:46
@crazy-max crazy-max force-pushed the gitcli-host-gitconfig branch from 036ed13 to eb384ee Compare April 2, 2026 14:22
@crazy-max crazy-max added this to the v0.30.0 milestone Apr 2, 2026
@crazy-max crazy-max marked this pull request as ready for review April 2, 2026 14:23
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the gitcli-host-gitconfig branch from eb384ee to 5bc2459 Compare April 2, 2026 21:25
@tonistiigi tonistiigi merged commit c90e21f into moby:master Apr 2, 2026
223 of 225 checks passed
@crazy-max crazy-max deleted the gitcli-host-gitconfig branch April 3, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants